package entity

import (
	"pids-cloud-server/app/common"
)

type MemState struct {
	ID         int64             `gorm:"column:id;primary_key"`
	HostName   string            `gorm:"column:host_name"`
	Total      float64           `gorm:"column:total"`
	Used       float64           `gorm:"column:used"`
	Free       float64           `gorm:"column:free"`
	UsePer     float64           `gorm:"column:use_per"`
	DateStr    string            `gorm:"column:date_str"`
	CreateTime common.CustomTime `gorm:"column:create_time"  swaggertype:"primitive,string"`
	Type       DeviceType        `gorm:"-"`
}
